/**
 * 标注界面
 */
export const markApi = {
  "taskInfoUrl": {
    name: '',
    method: 'POST',
    desc: '标注任务访问的url，获取vad分段等基本信息，获取一个标客任务 听见使用',
    path: '/web/v1/be/task/apply',
    params: {},
  },
  "fileListInfoUrl": {
    name: '',
    method: 'GET',
    desc: '获取文件列表,一个标客任务多个文件 主平台使用',
    path: '/mark/v1/marker-task-data/pageInfo',
    params: {}
  },
  "fileInfoUrl": {
    name: '',
    method: 'GET',
    desc: '',
    path: '/web/v1/be/mark/file/info',
    params: {}
  },
  "filePathUrl": {
    name: '',
    method: 'GET',
    desc: '图片，音频资源下载地址',
    path: '/web/v1/css/file',
    params: {}
  },
  "fileRangePathUrl": {
    name: '',
    method: 'GET',
    desc: '获取时间段的音频',
    path: '/web/v1/css/file/range',
    params: {}
  },
  "submitUrl": {
    name: '',
    method: 'POST',
    desc: '提交结果的url',
    path: '/web/v1/be/mark/task/submit',
    params: {}
  },
  "saveResultUrl": {
    name: '',
    method: 'POST',
    desc: '保存结果url',
    path: '/web/v1/be/mark/result',
    params: {}
  },
  "abandonTaskUrl": {
    name: '',
    method: 'POST',
    desc: '放弃任务url',
    path: '/web/v1/be/mark/task/giveup',
    params: {}
  },
  "repulseTaskUrl": {
    name: '',
    method: 'PUT',
    desc: '打回 与提交区分，在翻译业务线中使用，其他业务线打回没有迁移到此api',
    path: '/web/v1/be/mark/task/repulse',
    params: {}
  },
  "currentResultUrl": {
    name: '',
    method: 'GET',
    desc: '获取最新结果',
    path: '/mark/v2/result/info',
    params: {}
  },
  "getResultUrl": {
    name: '',
    method: 'GET',
    desc: '获取 sdk 2.0 的结果',
    path: '/web/v2/web/mark/result',
    params: {}
  },
  "historyList": {
    name: '',
    method: 'GET',
    desc: '获取历史结果（优化）',
    path: '/mark/v2/result/version',
    params: {}
  },
  "historyInfo": {
    name: '',
    method: 'GET',
    desc: '//获取最新结果（优化）',
    path: '/mark/v2/result/info',
    params: {}
  },
  "currentResultBatchUrl": {
    name: '',
    method: 'GET',
    desc: '获取最新的标注结果（批量）',
    path: '/mark/v1/history/result/info/batch',
    params: {}
  },
  "markTaskIsValid": {
    name: '',
    method: 'GET',
    desc: '标客任务是否被回收和放弃',
    path: '/web/v1/marker-task-data/info',
    params: {}
  },
  "recoveryUrl": {
    name: '',
    method: 'POST',
    desc: '回收',
    path: '/web/v1/be/mark/task/recovery',
    params: {}
  },
  "fileResultInfoUrl": {
    name: '',
    method: 'GET',
    desc: '获取文件列表',
    path: '/mark/v1/marker-task-data/singleResult',
    params: {}
  },
  "dictionaryDownloadUrl": {
    name: '',
    method: 'GET',
    desc: '下载字典 上传：/v1/dictionary/upload （file key post方式）',
    path: '/web/v1/dictionary/getContentBytes',
    params: {}
  },
  "loginUrl": {
    name: '',
    method: 'POST',
    desc: '登录页面',
    path: '/user/v1/account/login',
    params: {}
  },
  "pageNavUrl": {
    name: '',
    method: 'GET',
    desc: '分页',
    path: '/web/v1/web/my/task?dealType=info',
    params: {}
  },
  /**
   * 积分详情
   **/
  "integralDetailUrl": {
    name: '',
    method: 'GET',
    desc: '获取我的积分信息',
    path: '/web/v1/web/batch-marktask-integral/detail',
    params: {}
  },
  "integralFileListUrl": {
    name: '',
    method: 'GET',  
    desc: '积分详情文件列表',
    path: '/web/v1/marker-task-data/info/file',
    params: {}
  },
}
/**
 * 创建批次
 */
export const creatbatchApi = {
  "batchPriorityUrl": {
    name: '',
    method: 'GET',
    desc: '批次优先级查询',
    path: '/task/v1/bes/task/batch/judge_priority',
    params: {}
  },
  "batchInfoUrl": {
    name: '',
    method: 'GET',
    desc: '批次信息拉取',
    path: '/task/v1/bes/task/batch',
    params: {}
  },
  "batchAttributionTaskUrl": {
    name: '',
    method: 'GET',
    desc: '创建批次归属任务查询',
    path: '/task/v1/task/info',
    params: {}
  },
  "createBatchUrl": {
    name: '',
    method: 'POST',
    desc: '创建批次提交接口',
    path: '/web/v1/be/task/batch',
    params: {}
  },
  "BatchTaskNameSUrl": {
    name: '',
    method: 'GET',
    desc: '创建批次任务名查询接口',
    path: '/task/v1/bes/task/be/task',
    params: {}
  },
  "getCloudInfoUrl": {
    name: '',
    method: 'GET',
    desc: '查询云盘数据',
    path: '/web/v1/be/common/files',
    params: {}
  },
  "dictionaryListUrl": {
    name: '',
    method: 'GET',
    desc: '获取所有字典信息列表',
    path: '/web/v1/dictionary/dicNameList',
    params: {}
  },
  "listenIntegralUrl": {
    name: '',
    method: 'GET',
    desc: '监听积分设置',
    path: '/task/v1/task/info/id',
    params: {}
  },
  "getCreateTaskInfoUrl": {
    name: '',
    method: 'GET',
    desc: '获取任务数据',
    path: '/web/v1/be/open/mark-model'
  }
}
/**
 *  任务详情
 **/
export const taskdetailApi = {
  "taskDetailInfoUrl": {
    name: '',
    method: 'GET',
    desc: '获取任务详情信息',
    path: '/web/v1/web/mark-task/detail',
    params: {}
  },
  "taskDetailFileListUrl": {
    name: '',
    method: 'GET',
    desc: '获取任务详情列表',
    path: '/web/v1/web/mark-task/detail/files',
    params: {}
  }
}
/**
 * 导出
 */
export const exportApi = {
  "exportHistoryUrl": {
    name: '',
    method: 'GET',
    desc: '导出历史',
    path: '/v1/exportData/getList',
    params: {} 
  },
  "exportPlayUrl": {
    name: '',
    method: 'POST',
    desc: '导出到本地',
    path: '/v1/be/task/batch/export',
    params: {} 
  }
}

/**
 * 自定义标注
 */
export const customApi = {
  "componentsInfoUrl":{
    name: '',
    method: 'GET',
    desc: '获取自定义组件信息',
    path: '/web/v1/manage/mark-template/id',
    params: {}
  }
}